package org.jeecg.modules.travel.mapper;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.core.toolkit.Constants;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.apache.ibatis.annotations.Param;
import org.jeecg.modules.travel.entity.JhFavorites;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.jeecg.modules.travel.vo.favorites.AppFavoritesRecordVo;
import org.jeecg.modules.travel.vo.favorites.JhFavoritesVo;

/**
 * @Description: 用户收藏表
 * @Author: jeecg-boot
 * @Date:   2025-04-19
 * @Version: V1.0
 */
public interface JhFavoritesMapper extends BaseMapper<JhFavorites> {

    IPage<AppFavoritesRecordVo> appFavoritesPageList(Page<JhFavorites> page, @Param(Constants.WRAPPER) QueryWrapper<JhFavorites> queryWrapper);

    IPage<JhFavoritesVo> queryPageList(Page<JhFavorites> page, @Param(Constants.WRAPPER) QueryWrapper<JhFavorites> queryWrapper);
}
